//
//  KLGoodModel.h
//  KLShoppingList
//
//  Created by apple on 2017/8/16.
//  Copyright © 2017年 NetEaseExam. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>

@interface KLGoodModel : NSObject

//字典属性
@property (nonatomic, copy) NSString *title;//物品名称

@property (nonatomic, copy) NSString *image;//物品名称

@property (nonatomic, strong) NSNumber *price;

@property (nonatomic, strong) NSNumber *amount;

@property (nonatomic, strong) NSNumber *tax;

@property (nonatomic, strong) NSNumber *benefit;//活动优惠

//其他属性
// 商品左侧按钮是否选中
@property (nonatomic, assign) BOOL goodIsChoosed;
// tax detail  是否打开

@property (nonatomic, assign) BOOL openTaxDetail;

- (instancetype)initWithDict:(NSDictionary *)dict;

+ (instancetype)goodWithDict:(NSDictionary *)dict;

@end
